﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace ZeekGame
{
    class Character : Object
    {
        private Sprite[] sprites;
        public short actualSprite { get; private set; }

        public Character(int characterType)
            : base(characterType)
        {

        }

        public void LoadSprites(Sprite[] characterSprites)
        {
            sprites = new Sprite[characterSprites.Length];

            for (int n = 0; n < sprites.Length; n++)
            {
                sprites[n] = characterSprites[n];
            }

        }

        //public virtual void Draw(short actualSprite, SpriteBatch spriteBatch)
        //{
        //    spriteBatch.Begin();
        //    spriteBatch.Draw(sprites[actualSprite].Texture,
        //        new Rectangle((int)sprites[actualSprite].Position.X, (int)sprites[actualSprite].Position.Y, (int)sprites[actualSprite].Size.X, (int)sprites[actualSprite].Size.Y),
        //        Color.White);
        //    spriteBatch.End();
        //}
    }
}
